package backstage.competence.service;

import java.util.List;

import backstage.competence.pojo.Competence;
import backstage.menu.vo.SysMenuVo;
import backstage.util.pojo.Page;

public interface CompetenceService {

	public Competence getCompetence(Integer id);//增加
	
	public void addCompetence(Competence c);//增加
	
	public void updateCompetence(Competence c);//修改
	
	public void deleteCompetence(Competence c);//删除
	
	public Page getPage(int pageSize);//得到页
	
	public List<Competence> getCompetence(Page p);//根据分页得到数据

	public List<SysMenuVo> getMenus(Integer id);//得到菜单
	
	public String getMenusJson(Integer id);//得到菜单Json串
	
	public String updateMenus(String id,String m);
}
